<template>
  <view class="divider"></view>
</template>

<script setup>
const props = defineProps({
  color: {
    type: String,
    default: "#e5e5e5",
  },
  gap: {
    type: String,
    default: "10rpx",
  }
});
</script>
<style scoped lang="scss">
.divider {
  width: 100%;
  height: 1px;
  background-color: v-bind(color);
  margin: v-bind(gap) 0;
}
</style>
